package com.example.back.dto.req;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "交易记录列表请求体")
public class TransactionListReq implements Serializable {

    private static final long serialVersionUID = -3574782263019857483L;

    @ApiModelProperty(value = "订单号")
    @JSONField(name = "OrderNO")
    private String OrderNO;

    @ApiModelProperty(value = "开始时间")
    @JSONField(name = "StartTime")
    private Date StartTime;

    @ApiModelProperty(value = "结束时间")
    @JSONField(name = "EndTime")
    private Date EndTime;

    @ApiModelProperty(value = "问诊类型 (在线复诊 = 10,图文问诊 = 11,电话问诊 = 12,视频问诊 = 13,药品 = 1)")
    @JSONField(name = "Types")
    private int Types;

    @ApiModelProperty(value = "支付类型(支付宝=1,微信 = 2,医保 = 3)")
    @JSONField(name = "PayType")
    private int PayType;

    @ApiModelProperty(value = "订单状态(未付款 = 1,已付款 = 2)")
    @JSONField(name = "SystemStatus")
    private int SystemStatus;

    @ApiModelProperty(value = "分页页码，默认1页")
    @JSONField(name = "page")
    private Integer page;

    @ApiModelProperty(value = "分页条数，默认10条")
    @JSONField(name = "limit")
    private Integer limit;
}
